/**
 * 全局指令注册
 */
import { fadeUp, fadeDown, fadeLeft, fadeRight } from './fade.js'

export default {
  install(app) {
    // 注册淡入动画指令
    app.directive('fade-up', fadeUp)
    app.directive('fade-down', fadeDown)
    app.directive('fade-left', fadeLeft)
    app.directive('fade-right', fadeRight)

    console.log('✅ 全局指令注册成功')
  }
}
